<?php
/* Smarty version 4.5.5, created on 2025-05-12 17:38:30
  from 'E:\Develop\php\projects\app\view\admin\index\index.html' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.5.5',
  'unifunc' => 'content_6821c19619af25_09622008',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'b25639336cac6c2376b57a98e036fd2326092f55' => 
    array (
      0 => 'E:\\Develop\\php\\projects\\app\\view\\admin\\index\\index.html',
      1 => 1730382684,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_6821c19619af25_09622008 (Smarty_Internal_Template $_smarty_tpl) {
?><html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta charset="utf-8">
  <title><?php echo $_smarty_tpl->tpl_vars['lang']->value['page']['index']['title'];?>
</title>
  <link rel="shortcut icon" href="/static/images/favicon.ico" type="image/x-icon" />
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon" />
  <link rel="stylesheet" href="/static/lay/layui/css/layui.css" media="all">
  <link rel="stylesheet" href="/static/lay/layui/index.css" media="all">
</head>
<body class="layui-layout-body">
  
  <div id="LAY_app">
    <div class="layui-layout layui-layout-admin">
      <div class="layui-header">
       <!-- 头部区域（可配合layui已有的水平导航） -->
    <ul class="layui-nav layui-layout-left" id="topmue">
      <li class="layui-nav-item" ><a href="#"><img src="/static/admin/images/yunlogo.png" ></a></li>
      <?php echo $_smarty_tpl->tpl_vars['topmue']->value;?>

    </ul>
    <!-- 头部区域（可配合layui已有的水平导航） -->
    <ul class="layui-nav layui-layout-right" lay-filter='layadmin-layout-right'>
      <li class="layui-input-inline" ><i class="layui-icon layui-icon-read"></i>
        <select class="my-select" id="language">
            <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['langs']->value, 'item', false, 'key');
$_smarty_tpl->tpl_vars['item']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->do_else = false;
?>
            <option value='<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
' <?php if ($_smarty_tpl->tpl_vars['key']->value == $_smarty_tpl->tpl_vars['default']->value) {?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?>
</option>
            <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
        </select>
      </li>
      <li class="layui-nav-item"><a href="#"><?php echo $_smarty_tpl->tpl_vars['lang']->value['page']['index']['youok'];?>
，<?php echo $_smarty_tpl->tpl_vars['user']->value['realname'];?>
</a></li>
      <li class="layui-nav-item"><a href="#"><?php echo $_smarty_tpl->tpl_vars['lang']->value['page']['index']['logip'];?>
：<?php echo $_smarty_tpl->tpl_vars['user']->value['ip'];?>
</a></li>
      <li class="layui-nav-item"><a href="#"><?php echo $_smarty_tpl->tpl_vars['lang']->value['page']['index']['logtime'];?>
：<?php echo $_smarty_tpl->tpl_vars['user']->value['time'];?>
</a></li>
      <li class="layui-nav-item"><a href="#" title="<?php echo $_smarty_tpl->tpl_vars['lang']->value['page']['index']['helpword'];?>
">&nbsp;&nbsp;<i class="layui-icon layui-icon-survey"></i>&nbsp;&nbsp;</a></li>
      <li class="layui-nav-item">&nbsp;&nbsp;<img src="<?php if ($_smarty_tpl->tpl_vars['user']->value['header_url']) {
echo $_smarty_tpl->tpl_vars['user']->value['header_url'];
} else { ?>/static/img/headimg.png<?php }?>" class="layui-nav-img">&nbsp;&nbsp;
        <dl class="layui-nav-child">
          <dd class="lay-user"><li><?php echo $_smarty_tpl->tpl_vars['lang']->value['page']['index']['account'];?>
：<?php echo $_smarty_tpl->tpl_vars['user']->value['username'];?>
<br /><?php echo $_smarty_tpl->tpl_vars['lang']->value['page']['index']['account'];?>
 ID：<?php echo $_smarty_tpl->tpl_vars['user']->value['aid'];?>
</li></dd>
          <dd class="lay-userinfo">
            <li class="right-border"><a href="#" onclick="xadmin.open({title:'<?php echo $_smarty_tpl->tpl_vars['lang']->value['page']['index']['accmanger'];?>
',url:'/user/account/info/',width:'1280',height:'650'});"><?php echo $_smarty_tpl->tpl_vars['lang']->value['page']['index']['accmanger'];?>
</a></li>
            <li><a href="#" onclick="xadmin.open({title:'<?php echo $_smarty_tpl->tpl_vars['lang']->value['page']['index']['cacheinfo'];?>
',url:'/admin/index/cache/',width:'1080',height:'650'});"><?php echo $_smarty_tpl->tpl_vars['lang']->value['page']['index']['cacheinfo'];?>
</a></li></dd>
          <dd class="clearboth"><a href="#" id="dropOut"><?php echo $_smarty_tpl->tpl_vars['lang']->value['page']['index']['logout'];?>
</a></dd>
        </dl>
      </li>
      
    </ul>
  </div>

  <!-- 侧边菜单 -->
      <div class="layui-side layui-side-menu">
        <div class="layui-side-scroll"> 
          <ul class="layui-nav layui-nav-tree" lay-shrink="all" id="LAY-system-side-menu" lay-filter="layadmin-system-side-menu">
           <?php echo $_smarty_tpl->tpl_vars['mue']->value;?>

          </ul>
          <div class="layui-ver">
           <!-- 版权 -->
           © <?php echo $_smarty_tpl->tpl_vars['sys_info']->value['ver'];?>

         </div>
        </div>
      </div>
      <span class="layui-menu-subclose btn"><i class="layui-icon">&#xe603;</i></span>

      <!-- 页面标签 -->
      <div class="layadmin-pagetabs" id="LAY_app_tabs">
        <div class="layui-icon layadmin-tabs-control layui-icon-prev" layadmin-event="leftPage"></div>
        <div class="layui-icon layadmin-tabs-control layui-icon-next" layadmin-event="rightPage"></div>
        <div class="layui-icon layadmin-tabs-control layui-icon-down">
          <ul class="layui-nav layadmin-tabs-select" lay-filter="layadmin-pagetabs-nav">
            <li class="layui-nav-item" lay-unselect>
              <a href="javascript:;"></a>
              <dl class="layui-nav-child layui-anim-fadein">
                <dd layadmin-event="closeThisTabs"><a href="javascript:;"><?php echo $_smarty_tpl->tpl_vars['lang']->value['page']['index']['closedtag'];?>
</a></dd>
                <dd layadmin-event="closeOtherTabs"><a href="javascript:;"><?php echo $_smarty_tpl->tpl_vars['lang']->value['page']['index']['closedtagother'];?>
</a></dd>
                <dd layadmin-event="closeAllTabs"><a href="javascript:;"><?php echo $_smarty_tpl->tpl_vars['lang']->value['page']['index']['closedtagall'];?>
</a></dd>
              </dl>
            </li>
          </ul>
        </div>
        <div class="layui-tab" lay-unauto lay-allowClose="true" lay-filter="layadmin-layout-tabs">
          <ul class="layui-tab-title" id="LAY_app_tabsheader">
            <li lay-id="/admin/index/console/" lay-attr="/admin/index/console/" class="layui-this"><i class="layui-icon layui-icon-home"></i></li>
          </ul>
        </div>
      </div>
      
      
      <!-- 主体内容 -->
      <div class="layui-body" id="LAY_app_body">
        <div class="layadmin-tabsbody-item layui-show" id="ui-view">
          <iframe src="/admin/index/console/" frameborder="0" class="layadmin-iframe"></iframe>
        </div>
      </div>
      
      <!-- 辅助元素，一般用于移动设备下遮罩 -->
      <div class="layadmin-body-shade" layadmin-event="shade"></div>
    </div>
  </div>

  <?php echo '<script'; ?>
 src="/static/lay/layui/layui.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
>
   layui.config({
     base: '/static/lay/' //静态资源所在路径
   }).extend({
     index: 'lib/index'//主入口模块
     , xadmin: 'lib/xadmin' //弹窗
     , mue: 'lib/mue' //弹窗
   }).use(['jquery', 'layer','xadmin','index'],function(){
        var $ = layui.$ //引用jq
        var layer = layui.layer; //独立版的layer无需执行这一句
        $('#language').change(function(){
            $.post('/admin/login/setlanguage/',{'lang':$('#language').val()}, function(data) {
                if(data.code==200){
                    location.reload();
                }else{
                    toast(data.msg,3)
                }
            })
        });

        $(document).on("click","#dropOut",function(){
            if(confirm('<?php echo $_smarty_tpl->tpl_vars['lang']->value['page']['index']['logoutinfo'];?>
')){self.location='/admin/login/logout/';}
        });
   });
  <?php echo '</script'; ?>
>
</body>
</html>


<?php }
}
